package com.rhb.ca.uzer.business;

import com.rhb.ca.exception.*;
import com.rhb.ca.uzer.bean.Uzer;
import com.rhb.ca.uzer.bean.UzerQuery;

import java.util.*;

public interface UzerBusiness {
	public Uzer selectUzerByLoginName(String loginName);
	
	public String create(Uzer obj) throws DuplicateException,RequiredException;
	public void update(Uzer obj) throws DuplicateException,RequiredException;
	public void delete(Uzer obj);
	public Uzer findByPk(String pk);

	public List findByQuery(UzerQuery query,int start, int count);
	public int getAllCount_findByQuery(UzerQuery query);

	public boolean existLoginName(String no,String pk);
	public Uzer findByLoginName(String no);

}
